package com.hpjpw.ido.service;

import java.util.List;
import com.hpjpw.ido.domain.AnonymousComment;

/**
 * 撕逼墙的评论Service接口
 * 
 * @author hpj
 * @date 2021-01-02
 */
public interface IAnonymousCommentService 
{
    /**
     * 查询撕逼墙的评论
     * 
     * @param id 撕逼墙的评论ID
     * @return 撕逼墙的评论
     */
    public AnonymousComment selectAnonymousCommentById(Long id);

    /**
     * 查询撕逼墙的评论列表
     * 
     * @param anonymousComment 撕逼墙的评论
     * @return 撕逼墙的评论集合
     */
    public List<AnonymousComment> selectAnonymousCommentList(AnonymousComment anonymousComment);

    /**
     * 新增撕逼墙的评论
     * 
     * @param anonymousComment 撕逼墙的评论
     * @return 结果
     */
    public int insertAnonymousComment(AnonymousComment anonymousComment);

    /**
     * 修改撕逼墙的评论
     * 
     * @param anonymousComment 撕逼墙的评论
     * @return 结果
     */
    public int updateAnonymousComment(AnonymousComment anonymousComment);

    /**
     * 批量删除撕逼墙的评论
     * 
     * @param ids 需要删除的撕逼墙的评论ID
     * @return 结果
     */
    public int deleteAnonymousCommentByIds(Long[] ids);

    /**
     * 删除撕逼墙的评论信息
     * 
     * @param id 撕逼墙的评论ID
     * @return 结果
     */
    public int deleteAnonymousCommentById(Long id);
}
